﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 序列号 Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfSnUsedDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfSnUsedDTOData()
		{
			initData();
		}
		private void initData()
		{
		
					SNMaster= 0; 
				
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.CompRptRcvLineDTO != null) 
			{
				this.CompRptRcvLineDTO.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.CopyOfCompRptRcvLineDTO != null) 
			{
				this.CopyOfCompRptRcvLineDTO.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfSnUsedDTOData(  ufida.u9.ait.openapi.CopyOfCompRptRcvLineDTOData compRptRcvLineDTO  , System.Int64 sNMaster  , System.String sNCode  , ufida.u9.ait.openapi.CopyOfCompRptRcvLineDTOData copyOfCompRptRcvLineDTO  )
		{
			initData();
			this.CompRptRcvLineDTO = compRptRcvLineDTO;
			this.SNMaster = sNMaster;
			this.SNCode = sNCode;
			this.CopyOfCompRptRcvLineDTO = copyOfCompRptRcvLineDTO;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 完工报告入库明细行
		/// 序列号 Copy.Misc.完工报告入库明细行
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCompRptRcvLineDTOData m_compRptRcvLineDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCompRptRcvLineDTOData CompRptRcvLineDTO
		{
			get	
			{	
				return m_compRptRcvLineDTO ;
			}
			set	
			{	
				m_compRptRcvLineDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 序列号
		/// 序列号 Copy.Misc.序列号
		/// </summary>
		private System.Int64 m_sNMaster ;
		[DataMember(IsRequired=false)]
		public System.Int64 SNMaster
		{
			get	
			{	
				return m_sNMaster ;
			}
			set	
			{	
				m_sNMaster = value ;	
			}
		}
			
		

		/// <summary>
		/// 序列号编码
		/// 序列号 Copy.Misc.序列号编码
		/// </summary>
		private System.String m_sNCode ;
		[DataMember(IsRequired=false)]
		public System.String SNCode
		{
			get	
			{	
				return m_sNCode ;
			}
			set	
			{	
				m_sNCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 完工报告入库明细行 Copy
		/// 序列号 Copy.Misc.完工报告入库明细行 Copy
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCompRptRcvLineDTOData m_copyOfCompRptRcvLineDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCompRptRcvLineDTOData CopyOfCompRptRcvLineDTO
		{
			get	
			{	
				return m_copyOfCompRptRcvLineDTO ;
			}
			set	
			{	
				m_copyOfCompRptRcvLineDTO = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
								
		#endregion 
	} 	
}
